home *** CD-ROM | disk | FTP | other *** search
/ US Department of Defense…ndamentals 1.0 2004 April / US Department of Defense: Firewall & Router Fundamentals 1.0 2004 April.iso / sco / sco012 / media / page017.swf / scripts / DefineButton2_12 / BUTTONCONDACTION on(rollOver).as < prev   
Encoding:
Text File  |  2003-10-16  |  594 bĀ   |  18 lines

  1. on(rollOver){
  2.    tooltip_buttton.useHandCursor = false;
  3.    temp_name = this._name;
  4.    temp_tip_number = temp_name.slice(2,temp_name.length);
  5.    _parent.page_tooltip._x = this._x - (this._width / 2 - 15);
  6.    _parent.page_tooltip._y = this._y - this._height / 2;
  7.    _parent.page_tooltip._visible = 1;
  8.    _parent.page_tooltip.Tip_txt = _parent[_parent.topic_name][temp_tip_number - 1];
  9.    if(_parent.Prototype_tooltips[temp_tip_number - 1].length > 8)
  10.    {
  11.       _parent.page_tooltip.gotoAndPlay("large");
  12.    }
  13.    else
  14.    {
  15.       _parent.page_tooltip.gotoAndPlay("small");
  16.    }
  17. }
  18.